//
//  NetworkingSevers.h
//  NetworkingSevers
//
//  Created by WorkSpace on 4/1/14.
//
//

#import <Foundation/Foundation.h>
#import "BaseHttpClient.h"

//@protocol BaseServerDelegate <NSObject>
//-(void)receiveData:(NSDictionary *)dic WithPath:(NSString *)path;
//@optional
//-(void)FailureData:(NSString *)path WithError:(NSError *)error;
//@end


@interface NetworkingSevers : NSObject//<BaseHttpClientDelegate>
{
    BaseHttpClient * baseclient;
   
}
@property (strong,nonatomic)NSString *httpUrl;
@property (strong,nonatomic)NSString *actionUrl;


- (void)setRequestStyle:(NSString*)style andSetPathString:(NSString*)path andSetHeadString:(NSString*)head andActionName:(NSString*)action andSetMainDictionary:(NSMutableDictionary*)dictionary block:(void(^)(id json))processResult failblock:(void(^)(NSError *error))failresult;

@end
